<template>
  <div id="loading" v-show="ishow">
      <div class="">
        <img src="../assets/loading.jpg" alt="">
      </div>
  </div>
</template>
<script>
export default {
  name: "",
  props: ['ishow'],
  data: () => ({

  })
}
</script>
<style lang="less" scoped>
#loading{
  width: 100vw;
  height: 100vh;
  background: #ccc;
  opacity: 0.7;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
</style>
